package pack0618;

import java.util.Scanner;

public class Homework01 {
    public static void main(String[] args) {
        Scanner scan=new Scanner(System.in);
        System.out.print("请输入a：");
        int a = scan.nextInt();
        int c=0;
        int b=0;
        for (int i=1;i<=a;i++){
             b=b*10+a;
             c=b+c;
            System.out.println("b:"+b+" "+"c:"+c);
        }
        System.out.println(c);
    }
}
